package br.com.locanet.view.impl;

import br.com.locanet.view.AbstractManagedBean;

public class PropriedadesBean extends AbstractManagedBean {
	/*
	private ConfiguracaoService configuracaoService = new ConfiguracaoService();
	
	@Override
	public void update() throws Exception {
		getConfiguracaoService().setLogin(getEntity().getLogin());
		getConfiguracaoService().setSenha(getEntity().getSenha());
		getConfiguracaoService().setPrecoCatalogo(getEntity().getPrecoCatalogo());
		getConfiguracaoService().setPrecoLancamento(getEntity().getPrecoLancamento());
		getConfiguracaoService().setPeriodo(getEntity().getPeriodo());
		getConfiguracaoService().setDataBase(getEntity().getDatabase());
		get_update();
	}
	
	public void get_update() throws Exception {
		getEntity().setDatabase(getConfiguracaoService().getDataBase());
		getEntity().setLogin(getConfiguracaoService().getLogin());
		getEntity().setSenha(getConfiguracaoService().getSenha());
		getEntity().setPrecoCatalogo(getConfiguracaoService().getPrecoCatalogo());
		getEntity().setPrecoLancamento(getConfiguracaoService().getPrecoLancamento());
		getEntity().setPeriodo(getConfiguracaoService().getPeriodo());
		getRequest().setAttribute("configuracao", getEntity());
	}
	
	
	

	public ConfiguracaoService getConfiguracaoService() {
		return configuracaoService;
	}
	public void setConfiguracaoService(ConfiguracaoService configuracaoService) {
		this.configuracaoService = configuracaoService;
	}
	*/
}
